%% Default Makefile to compile Mex files
%% ========================================================================
%% $id$

%% Compile simulator
mex sim\sim_interface.c...
    dstructs\fibheap.c...
    dstructs\dlinkedlists.c...
    sim\sim_mc.c...
    3party\mt19937.c...
    -I3party\...
    -Idstructs\...
    -g -v

%% Compile interface to show Markov chain in Matlab
mex -lqtcore4 -lqtgui4 -lgvc -lgraph...
    itf\itf_showMarkov.cpp...
    itf\itf_garrangement.cpp...
    itf\itf_mc.c...
    dstructs\path.c...
    itf\itf_state_transition.cpp...
    itf\itf_state_transition_moc.cpp...
    -Isim\...
    -Iitf\...
    -Idstructs\...
    -I3party\...
    -I"C:\Qt\4.7.3\include"...
    -I"C:\Qt\4.7.3\include\QtGui"...
    -I"C:\Qt\4.7.3\include\QtCore"...
    -I"C:\Program Files (x86)\Graphviz2.26.3\include"...
    -L"C:\Qt\4.7.3\lib"...
    -L"C:\Program Files (x86)\Graphviz2.26.3\lib\release\lib"...
    -g -v

%% Compile the interface and algorithms for learning the GSMP
mex -lqtcore4 -lqtgui4 -lgvc -lgraph -lqwt...
    itf\itf_ptasa.cpp...
    itf\itf_garrangement.cpp...
    itf\itf_mc.c...
    itf\itf_debug.c...
    itf\itf_graph_xy.cpp...
    sim\alg_ms.cpp...
    sim\alg_ise.c...
    sim\alg_pss.c...
    dstructs\prefix_tree.c...
    dstructs\dlinkedlists.c...
    dstructs\path.c...
    dstructs\pt_ext.cpp...
    itf\itf_state_transition.cpp...
    itf\itf_state_transition_moc.cpp...
    itf\itf_graph_xy_moc.cpp...
    -Isim\...
    -Idstructs\...
    -Iitf\...
    -I3party\...
    -I"C:\Qt\4.7.3\include"...
    -I"C:\Qt\4.7.3\include\QtGui"...
    -I"C:\Qt\4.7.3\include\QtCore"...
    -I"C:\Program Files (x86)\Graphviz2.26.3\include"...
    -I"C:\Qwt-6.0.1\include"...
    -L"C:\Qt\4.7.3\lib"...
    -L"C:\Program Files (x86)\Graphviz2.26.3\lib\release\lib"...
    -L"C:\Qwt-6.0.1\lib"...
    -g -v %-DDEBUG
